<div id="tmp_designer_<%= @designer.id %>" style="display:none;">
  <%= render :file => 'designers/designer_in_index.html', :locals => { :designer => @designer } %>
</div>
<script>
  $('designer_<%= @designer.id %>').update($('tmp_designer_<%= @designer.id %>').innerHTML);
  $('tmp_designer_<%= @designer.id %>').remove();
</script>